package com.bicon.base.data.pojo.botu;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 订单操作历史记录表
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("order_operation_history")
public class OrderOperationHistory extends Model<OrderOperationHistory> {

    private static final long serialVersionUID = 1L;

    @TableId("sequence_nbr")
    private Long sequenceNbr;
    /**
     * 订单ID
     */
    @TableField("order_id")
    private String orderId;
    /**
     * 订单状态
     */
    @TableField("order_status")
    private String orderStatus;
    /**
     * 操作人id
     */
    @TableField("user_id")
    private String userId;
    /**
     * 操作人名称
     */
    @TableField("user_name")
    private String userName;
    /**
     * 用户类型（01 移动端用户，02，后台管理员）
     */
    @TableField("user_type")
    private String userType;
    /**
     * 操作时间
     */
    @TableField("rec_date")
    private Date recDate;
    /**
     * 扩展字段1
     */
    private String extend1;
    /**
     * 扩展字段3
     */
    private String extend2;
    /**
     * 扩展字段3
     */
    private String extend3;
    /**
     * 备注
     */
    private String description;


    public Long getSequenceNbr() {
        return sequenceNbr;
    }

    public void setSequenceNbr(Long sequenceNbr) {
        this.sequenceNbr = sequenceNbr;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public Date getRecDate() {
        return recDate;
    }

    public void setRecDate(Date recDate) {
        this.recDate = recDate;
    }

    public String getExtend1() {
        return extend1;
    }

    public void setExtend1(String extend1) {
        this.extend1 = extend1;
    }

    public String getExtend2() {
        return extend2;
    }

    public void setExtend2(String extend2) {
        this.extend2 = extend2;
    }

    public String getExtend3() {
        return extend3;
    }

    public void setExtend3(String extend3) {
        this.extend3 = extend3;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    protected Serializable pkVal() {
        return this.sequenceNbr;
    }

    @Override
    public String toString() {
        return "OrderOperationHistory{" +
        "sequenceNbr=" + sequenceNbr +
        ", orderId=" + orderId +
        ", orderStatus=" + orderStatus +
        ", userId=" + userId +
        ", userName=" + userName +
        ", userType=" + userType +
        ", recDate=" + recDate +
        ", extend1=" + extend1 +
        ", extend2=" + extend2 +
        ", extend3=" + extend3 +
        ", description=" + description +
        "}";
    }
}
